<?php

abstract class DataBase 
{
    protected $host;
    protected $usuario;
    protected $pass;
    protected $bd;


    protected function __construct($host = 'localhost', $usuario = 'root', $pass = '', $bd = 'musica'){
            $this->host = $host;
            $this->usuario = $usuario;
            $this->pass = $pass;
            $this->bd = $bd;
    }

    abstract function consultar($query);

    abstract function modificar($query);

}

?>